package com.sh.wy.system.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Auther: 世豪学java
 * @Date: 2023/12/17 - 12 - 17 - 13:23
 * @Decsription: com.sh.wy.web.system.vo
 * @version: 1.0
 */
/*
*   接收数据封装的vo类
*
* */
@Data
public class LoginParam {
    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotNull(message = "身份类型不能为空")
    private Integer userType;
    @NotBlank(message = "密码不能为空")
    private String password;
    @NotBlank(message = "验证码id不能为空")
    private String captchaId;
    @NotBlank(message = "验证码不能为空")
    private String captchaCode;
}
